<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="/jsp/common/head.jsp"%>
    <div class="right">
        <div class="location">
            <strong>你现在所在的位置是:</strong>
            <span>用户管理页面 >> 用户修改页面</span>
        </div>
        <div class="providerAdd">
        <form id="userForm" name="userForm" method="post" action="${pageContext.request.contextPath }/user/edituser1">
			<input type="hidden" name="method" value="modifyexe">
			<input type="hidden" name="uid" value="${USER.id }"/>
			 <div>
                    <label for="userName">用户名称：</label>
                    <input type="text" name="userName" id="userName" value="${USER.userName}">
					<font color="red"></font>
             </div>
			 <div>
                    <label >用户性别：</label>
                    <select name="gender" id="gender">
                        <option value=true selected="selected"> 男 </option>
                        <option value=false selected="selected"> 女 </option>
					 </select>
             </div>
            <div>
                    <label for="birthday">出生日期：</label>
                    <input type="text" name="birthday" id="birthday" value="${USER.birthday }">
                </div>
            <div>
                <label for="phone">用户电话：</label>
                <input type="text" name="phone" id="phone" value="${USER.phone }">
                <font color="red"></font>
            </div>
				<div>
                    <label >用户角色：</label>
                    <!-- 列出所有的角色分类 -->
                    <select name="userRoleName" id="userRoleName">
                        <option value="管理员">管理员</option>
                        <option value="用户">用户</option>
                    </select>
<%--                    <input type="text" name="userRoleName" id="userRoleName" value="${USER.userRoleName }">--%>
                </div>
			 <div class="providerAddBtn">
                    <input type="submit" name="save" id="save" value="保存" style="padding: 0 0 0 10px;margin: 0;"/>
                 <a href="${pageContext.request.contextPath}/jsp/userlist.jsp"><input type="button" id="back" name="back" value="返回"/></a>
                </div>
            </form>
        </div>
    </div>
</section>
<%@include file="/jsp/common/foot.jsp" %>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/usermodify.js"></script>
